package com.xk._03真题骗._04字符串;

/*
 * @description: https://leetcode.cn/problems/string-rotation-lcci/
 * @author: xu
 * @date: 2022/11/1 9:43
 */
public class _面试题01_09字符串轮转 {
    public static boolean isFlipedString(String s1, String s2) {
        if (s1 == null || s2 == null) return false;
        if (s1.length() != s2.length()) return false;
        return (s1 + s1).contains(s2);
    }
}
